/**
 * Author: runlin.tang
 * Creation Time: 2016-09-02.
 * Description:.
 */
define(['jquery','../../common/ajax/ajax'],
    function($,ajax) {
      function loadBakc(){
        loadings=$.loading({
            content:'加载中...',
        });
        setTimeout(function(){
            loadings.loading("hide");
        },30000);
      };
        function example(postdata){
            ajax({
                url:interfaces.set_mac_clone.url,
                dataType:interfaces.set_mac_clone.dataType,
                type:interfaces.set_mac_clone.type,
                data:postdata,
                contentType: 'application/json',
                cache:{
                    use:false,
                    name:'',
                    time:10
                },
                isOk:function(data){
                    var datas = '';
                    if(useNetData){
                        datas = data;
                    }else{
                        datas = data.set_mac_clone;
                    };
                }
            } , loadBakc);
        }
        return example;
    });
